package com.atguigu.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @author HanYiMing
 * @description
 * @date 2024/3/19
 */
@SpringBootApplication
// import tk.mybatis.spring.annotation.MapperScan;
@MapperScan("com.atguigu.cloud.mapper")
@EnableDiscoveryClient
// 动态刷新
@RefreshScope
public class Main8002 {

    public static void main(String[] args) {
        SpringApplication.run(Main8002.class, args);
    }
}